package com.HMS.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.HMS.dao.UserDao;
import com.HMS.pojo.User;

@Service
public class VerifyService {
	@Resource
	private UserDao userDao;
	@Transactional
	public boolean emailVerify(User user){				
		return userDao.getEmail(user);
	}

}
